pull: Correctly handle repo->parent_repo when applying static deltas
authorAlexander Larsson <alexl@redhat.com>
Thu, 23 Jun 2016 09:51:15 +0000 (11:51 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 23 Jun 2016 11:36:33 +0000 (11:36 +0000)
commitfc4a7ec35e6e7a3a2db80257508faa592329786c
tree1be88b359e5467309aa816a80af9c739154f3eb4
parent9a779563bbfcc35fc1a891b74003619fd4556104
pull: Correctly handle repo->parent_repo when applying static deltas

In flatpak i was using a parent repo, and it failed to update
with ENOENT when dispatching an set-read-source opcode, because the
object it referenced was in the parent repo.

This fixes that by making _ostree_repo_read_bare_fd look
at parent_repo.

Closes: #362
Approved by: cgwalters
src/libostree/ostree-repo.c